package edu.chl.food_store.beans.backing;

import java.io.Serializable;
import javax.faces.bean.*;

/**
 * AddProductBackingBean:
 * Backing bean for data values when adding products.
 */
@ManagedBean
@RequestScoped
public class AddProductBackingBean implements Serializable {

    //data values
    private String name;
    private String category;
    private String description;
    private double price;

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
}
